<div *ngIf= "photo">
  <img class="photos" src="{{photo.url}}" />
  <div class = "detail">
    <div class = "items">
      <label>Name:</label>
      <input [(ngModel)]="photo.name" placeholder="Name" name = "name"/>
    </div>
    <button (click)="goBack()">Back</button>
    <button (click)="save()">Save</button>
  </div>
</div>